package org.example.service.impl;

import org.example.domain.CropWork;
import org.example.mapper.CropWorkMapper;
import org.example.service.CropWorkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CropWorkServiceImpl implements CropWorkService {
    @Autowired
    CropWorkMapper cropWorkMapper;
    @Override
    public List<CropWork> list() {
        return cropWorkMapper.list();
    }
}
